package com.ruoyi.system.domain.estate.emergency;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应急物资库存对象 t_emergency_supplies_stock
 */
public class EmergencySuppliesStock extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 库存ID */
    private Long stockId;

    /** 物资ID */
    private Long suppliesId;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String suppliesName;

    /** 物资类型 */
    @Excel(name = "物资类型", readConverterExp = "0=医疗物资,1=救援物资,2=消防物资,3=食品物资,4=其他物资")
    private String suppliesType;

    /** 物资规格 */
    @Excel(name = "物资规格")
    private String specification;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 存放位置ID */
    private Long locationId;

    /** 存放位置名称 */
    @Excel(name = "存放位置")
    private String locationName;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Integer stockQuantity;

    /** 入库/出库数量 */
    private Integer quantity;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productionDate;

    /** 过期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationDate;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batchNo;

    /** 状态（0正常 1库存不足 2即将过期 3已过期） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=库存不足,2=即将过期,3=已过期")
    private String status;

    /** 最低库存 */
    private Integer minStock;

    /** 领用人 */
    private String receiver;

    /** 联系方式 */
    private String contactInfo;

    /** 出库类型（0正常使用 1过期处理 2损坏处理 3其他） */
    private String outstockType;

    /** 剩余天数 */
    private Integer remainDays;

    public Long getStockId() {
        return stockId;
    }

    public void setStockId(Long stockId) {
        this.stockId = stockId;
    }

    public Long getSuppliesId() {
        return suppliesId;
    }

    public void setSuppliesId(Long suppliesId) {
        this.suppliesId = suppliesId;
    }

    public String getSuppliesName() {
        return suppliesName;
    }

    public void setSuppliesName(String suppliesName) {
        this.suppliesName = suppliesName;
    }

    public String getSuppliesType() {
        return suppliesType;
    }

    public void setSuppliesType(String suppliesType) {
        this.suppliesType = suppliesType;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Long getLocationId() {
        return locationId;
    }

    public void setLocationId(Long locationId) {
        this.locationId = locationId;
    }

    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    public Integer getStockQuantity() {
        return stockQuantity;
    }

    public void setStockQuantity(Integer stockQuantity) {
        this.stockQuantity = stockQuantity;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Date getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(Date productionDate) {
        this.productionDate = productionDate;
    }

    public Date getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(Date expirationDate) {
        this.expirationDate = expirationDate;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getMinStock() {
        return minStock;
    }

    public void setMinStock(Integer minStock) {
        this.minStock = minStock;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getContactInfo() {
        return contactInfo;
    }

    public void setContactInfo(String contactInfo) {
        this.contactInfo = contactInfo;
    }

    public String getOutstockType() {
        return outstockType;
    }

    public void setOutstockType(String outstockType) {
        this.outstockType = outstockType;
    }

    public Integer getRemainDays() {
        return remainDays;
    }

    public void setRemainDays(Integer remainDays) {
        this.remainDays = remainDays;
    }
} 